package com.wzh.springbootinit.common;

import com.wzh.springbootinit.constant.CommConstant;
import lombok.Data;

/**
 * @Author wzh
 * @create 2023/4/2 18:19
 * @Description: 分页请求
 */
@Data
public class PageRequest {
    /**
     *当前页号
     */

    private long currentPage = 1;
    /**
     *页面大小
     */

    private long pageSize = 10;
    /**
     *排序字段
     */

    private String sortField;

    /**
     *
     *排序顺序，默认升序
     */
    private String sortOrder = CommConstant.SORT_ORDER_ASC;


}
